/* Global */
/* ------------------------------------ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}
/* Blocks */
/* ------------------------------------ */
.page {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #042c21;
  color: #f8fafc;
  min-height: 100dvh;
  padding: 5px;
}

.app {
  width: 100%;
  max-width: 480px;
  min-height: 85dvh;
  background: #000000;
  border-radius: 24px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

.screen {
  display: none;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}
.screen_active {
  display: flex;
}
.screen__title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.screen__title_highlight_primary {
  color: #3b82f6;
}
.screen__title_highlight_success {
  color: #10b981;
  font-size: 2.4rem;
}
.screen__heading {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 16px;
}
.screen__subtitle {
  text-align: center;
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.screen__turn-info {
  text-align: center;
  margin: 20px 0;
}
.screen__turn-label {
  color: #94a3b8;
  margin-bottom: 8px;
}
.screen__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form__group {
  margin-bottom: 16px;
}
.form__group_hidden {
  display: none;
}
.form__label {
  display: block;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 6px;
}
.form__control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #f8fafc;
  font-size: 1rem;
  outline: none;
}
.form__control:focus {
  border-color: #3b82f6;
}
.form__control_type_count {
  width: 72px;
  flex-shrink: 0;
  text-align: center;
  padding: 12px 8px;
}
.form__control_type_textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.4;
}
.form__control_type_readonly {
  cursor: default;
  font-weight: 600;
  color: #60a5fa;
}
.form__control_type_readonly:focus {
  border-color: #334155;
}
.form__team-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.button {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s, background-color 0.2s, border-color 0.2s, color 0.2s;
  color: #f8fafc;
}
.button:active:not(:disabled) {
  transform: scale(0.97);
}
.button:disabled {
  opacity: 0.55;
  cursor: default;
}
.button_theme_primary {
  background: #3b82f6;
}
.button_theme_primary:hover {
  background: #2563eb;
}
.button_theme_secondary {
  background: #334155;
  margin-top: 8px;
  padding: 10px;
  font-size: 0.95rem;
}
.button_theme_success {
  background: #10b981;
}
.button_theme_danger {
  background: #ef4444;
}
.button_theme_ghost {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #334155;
  padding: 12px;
  font-size: 0.95rem;
}
.button_theme_ghost:hover {
  color: #f8fafc;
  border-color: #94a3b8;
}
.button_type_icon {
  width: auto;
  background: #334155;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 1.2rem;
}
.button_size_tall {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 1.2rem;
  gap: 4px;
}
.button__hint {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.9;
}

.scoreboard {
  background: #0f172a;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}
.scoreboard__item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #1e293b;
  font-size: 1.1rem;
}
.scoreboard__item:last-child {
  border-bottom: none;
}
.scoreboard__item_current {
  color: #3b82f6;
  font-weight: 700;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.game-header__timer {
  font-size: 2.2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #3b82f6;
}
.game-header__timer_urgent {
  color: #ef4444;
  animation: pulse 0.8s infinite;
}
.game-header__pause {
  padding: 8px 14px;
  font-size: 1rem;
  letter-spacing: 1px;
}
.game-header__score {
  font-size: 1.2rem;
  background: #0f172a;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 600;
}

.word-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #0f172a;
  border: 2px solid #334155;
  border-radius: 24px;
  flex-grow: 1;
  padding: 24px;
  margin: 16px 0;
  text-align: center;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
  touch-action: none;
  cursor: grab;
  transition: transform 0.2s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.word-card:active {
  cursor: grabbing;
}
.word-card_dragging {
  transition: none;
}
.word-card_state_guessed {
  border-color: #10b981;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.25);
}
.word-card_state_skipped {
  border-color: #ef4444;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.25);
}
.word-card__status {
  position: absolute;
  top: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.word-card__status_visible {
  opacity: 1;
}
.word-card__status_type_guessed {
  color: #34d399;
}
.word-card__status_type_skipped {
  color: #f87171;
}
.word-card__text {
  font-size: 2.2rem;
  font-weight: 800;
  word-break: break-word;
  line-height: 1.2;
  pointer-events: none;
}
.word-card__hints {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.word-card__hint-tag {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.word-card__hint {
  position: absolute;
  bottom: 14px;
  font-size: 0.78rem;
  color: #94a3b8;
  opacity: 0.7;
  pointer-events: none;
}

.game-hint-btn {
  margin-top: 0;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 110px;
}

.last-word-card {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background: #0f172a;
  border: 2px solid #3b82f6;
  border-radius: 24px;
  padding: 28px 20px;
  margin: 16px 0 24px;
  text-align: center;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.25);
}
.last-word-card__text {
  font-size: 2rem;
  font-weight: 800;
  word-break: break-word;
}

.last-word-teams {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.word-list {
  overflow-y: auto;
  max-height: 45dvh;
  margin-bottom: 16px;
  background: #0f172a;
  border-radius: 16px;
  padding: 8px;
}
.word-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #1e293b;
  cursor: pointer;
}
.word-list__item:last-child {
  border-bottom: none;
}

.badge {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.badge_status_guessed {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}
.badge_status_skipped {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.round-summary__total {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.round-summary__points {
  color: #3b82f6;
}

.win-banner {
  text-align: center;
  margin-top: 24px;
}
.win-banner__icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.win-banner__label {
  color: #94a3b8;
  margin-bottom: 8px;
}
.win-banner__scoreboard {
  margin-top: 24px;
}

.dict-mix__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.dict-mix__header .form__label {
  margin-bottom: 0;
}
.dict-mix__actions {
  display: flex;
  gap: 12px;
}
.dict-mix__link {
  background: none;
  border: none;
  color: #3b82f6;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
}
.dict-mix__link:hover {
  text-decoration: underline;
}
.dict-mix__list {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 8px 12px;
  max-height: 190px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dict-mix__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #f8fafc;
  cursor: pointer;
  padding: 4px 0;
}
.dict-mix__checkbox {
  width: 18px;
  height: 18px;
  accent-color: #3b82f6;
  cursor: pointer;
  flex-shrink: 0;
}/*# sourceMappingURL=style-v1.1.5.css.map */